<%@ page import="com.opensymphony.xwork2.util.ValueStack" %>
<%@ page import="setup.KmSettingInfo" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
  ValueStack vs = (ValueStack) request.getAttribute("struts.valueStack");
  int kmID = (Integer) vs.findValue("kmID");
  KmSettingInfo info = (KmSettingInfo) vs.findValue("kmSettingInfo");
%>
<form action="setting.action" target="execute" method="post">
<input type="hidden" name="settingInfo.kmID" value="<%=kmID%>"/>

<dl class="admin-students-control-setting">
  <dd style="">
    通过分值：
    <input type="text" id="passScore" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" name="settingInfo.passScore" value="<%=info.getPassScore()%>" class="normal numInput" style="width:100px; height:21px;"/>
  </dd>

  <dd>
    考试时间：
    <input type="text" id="examTime" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" name="settingInfo.examTime" value="<%=info.getExamTime()%>" class="normal numInput" style="width:100px; height:21px;"/>分钟
  </dd>
  <dd>
    　单选题：
    <input type="text" id="sValue" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" name="settingInfo.sValue" value="<%=info.getSValue()%>" class="normal numInput" style="width:100px; height:21px;"/>分/题<br/><br/>
    　多选题：
    <input type="text" id="mValue" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" name="settingInfo.mValue" value="<%=info.getMValue()%>" class="normal numInput" style="width:100px; height:21px;"/>分/题<br/><br/>
    　判断题：
    <input type="text" id="tValue" onkeypress="return (/[\d]/.test(String.fromCharCode(event.keyCode)))" name="settingInfo.tValue" value="<%=info.getTValue()%>" class="normal numInput" style="width:100px; height:21px;"/>分/题
  </dd>
  <dd style="border-bottom:0;">
    <button type="submit" class="blue"><span></span>确定</button>
    <button type="button" class="blue" onclick="kswindow.close()"><span></span>取消</button>
  </dd>
</dl>
<div style="clear:both"></div>

</form>